import { getOSS } from '@/api/erp/oss'
const host = 'yiya-erp.oss-cn-shanghai.aliyuncs.com'
const oss = {
  actions: {
    GetOSS() {
      return new Promise((resolve, reject) => {
        getOSS()
          .then((res) => {
            resolve(res)
          })
          .catch((error) => {
            reject(error)
          })
      })
    },
  },
}

export default oss
